﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="PushMoneyManage_PushMoney" Codebehind="PushMoney.aspx.cs" %>

<%@ Register Src="../Controls/TiChenApplyListControl.ascx" TagName="TiChenApplyListControl"
    TagPrefix="uc1" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
    <script type="text/javascript" src="../Include/Js/SocanCode.js"></script>
    <script type="text/javascript" src="../Include/Js/PopupCalendar.js"></script>
        <script type="text/javascript" src="../Include/Js/OpenWindow.js"></script>
        <script type="text/javascript">
         
       function setVIPValue(p)
       {
       
           var tem=p.split(",");
           var temText ="";
         
           for(var i=0;i<tem.length;i++)
           {
                var gk=tem[i].split("|");
                if(gk[0]!="")
                {
                         temText = temText  +   gk[0]+ ",";
                }
           }
      
                document.getElementById("Tbx_Man").innerText  = temText.substr(0,temText.length-1);
          
       } 
          
         function MultiSearchVIP(path)
        {
	        var handle = window.showModalDialog(path+'DialogBoxHostFrame.aspx?url=MultiSelectSearchVIP.aspx', window,'status:off;center=yes;edge:raised;dialogHeight:500px;dialogWidth:720px;help:0;resizable:0;scrollbar=0');	 
	        if (handle != null && handle != '' && typeof handle != 'undefined') {
	            //__doPostBack("SearchProduct",handle);
	            if(handle=="0")
	            {
	            window.parent.frmright.location="../CustomerArchives/AddVIP.aspx?isorder=1";
	            }
	            else
	            {
	            setVIPValue(handle);
	            }
	        }
        }  
        </script>
</head>
<body>
    <form id="form1" runat="server">
        <div align="Justify">
            <h2>
                <asp:Label ID="lblPageTitle" runat="server">提成发放管理</asp:Label></h2>
            <div class="menu_bg">
                月份:<asp:DropDownList ID="DDL_Month" runat="server">
                    <asp:ListItem>请选择</asp:ListItem>
                </asp:DropDownList>
                申请人:<asp:TextBox ID="Tbx_Man" runat="server"></asp:TextBox>
                申请日期:<asp:TextBox ID="Tbx_TimeFrom" runat="server" onclick="getDateString(this,oCalendarChs)"></asp:TextBox>至<asp:TextBox ID="Tbx_TimeTo"
                    runat="server" onclick="getDateString(this,oCalendarChs)"></asp:TextBox>
                审核:<asp:DropDownList ID="DDL_Valid" runat="server">
                    <asp:ListItem>请选择</asp:ListItem>
                    <asp:ListItem Value="1">是</asp:ListItem>
                    <asp:ListItem Value="0">否</asp:ListItem>
                </asp:DropDownList>
                作废:<asp:DropDownList ID="DDL_ZF" runat="server">
                    <asp:ListItem>请选择</asp:ListItem>
                    <asp:ListItem Value="1">是</asp:ListItem>
                    <asp:ListItem Value="0">否</asp:ListItem>
                </asp:DropDownList>
                <asp:Button ID="Button1" runat="server" Text="查询" CssClass="input_button" OnClick="Button1_Click" />
                <asp:Button ID="Button2" runat="server" Text="审核" CssClass="input_button" OnClick="Button2_Click" />
                <asp:Button ID="Button3" runat="server" Text="作废" CssClass="input_button" OnClick="Button3_Click" /></div>
            <div class="juli">
                <uc1:TiChenApplyListControl ID="TiChenApplyListControl1" runat="server" />
            </div>
            <div class="juli">
                <webdiyer:AspNetPager ID="AspNetPager1" runat="server" NumericButtonCount="8" ShowCustomInfoSection="left"
                    PagingButtonSpacing="0" ShowInputBox="always" HorizontalAlign="right" SubmitButtonText="转到"
                    NumericButtonTextFormatString="[{0}]" OnPageChanged="AspNetPager1_PageChanged">
                </webdiyer:AspNetPager>
            </div>
        </div>
    </form>
</body>
</html>
